/* Layout */
import Layout from '../views/layout/Layout'



export default [{
    path: '/',
    component: Layout,
    redirect: '/table',
    name: 'component',
    meta: {
        title: '封装的业务组件',
        icon: 'nested'
    },
    children: [
        {
            path: '/table',
            component: Layout,
            component: () => import('@/views/components/Table'),
            name: 'table',
            meta: {
                title: '基本的过滤表格',
               
            }
        },
        {
            path: '/Dialog',
            component: Layout,
            component: () => import('@/views/components/Dialog'),
            name: 'Dialog',
            meta: {
                title: '基本的弹窗配置',
            }
        },
        {
            path: '/TableTree',
            component: Layout,
            component: () => import('@/views/components/TableTree'),
            name: 'TableTree',
            meta: {
                title: '表格树',
            }
        },
        {
            path: '/tree',
            component: Layout,
            component: () => import('@/views/components/tree'),
            name: 'tree',
            meta: {
                title: '树配置',
            }
        },
        {
            path: '/treeandTable',
            component: Layout,
            component: () => import('@/views/components/treeandTable'),
            name: 'treeandTable',
            meta: {
                title: '树-表联合',
            }
        },
        {
            path: '/upload',
            component: Layout,
            component: () => import('@/views/components/upload'),
            name: 'upload',
            meta: {
                title: '基本上传配置',
            }
        },
        {
            path: '/SelectTree',
            component: Layout,
            component: () => import('@/views/components/SelectTree'),
            name: 'SelectTree',
            meta: {
                title: '下拉拓展',
            }
        },
        {
            path: '/form',
            component: Layout,
            component: () => import('@/views/components/form'),
            name: 'form',
            meta: {
                title: '配置化表单',
            }
        },
    ]
}]